//
//  HomeNavigationController.m
//  CouponManager
//
//  Created by BoHyun Jo on 11. 5. 29..
//  Copyright 2011 CJ오쇼핑. All rights reserved.
//

#import "HomeNavigationBar.h"


@implementation HomeNavigationBar

- (void) drawRect:(CGRect)rect {
	[[UIImage imageNamed:@"nav_bg.png"] drawInRect:rect];
	//if([self.topItem.title isEqualToString:@"          "]){
		
		[[self.topItem titleView] setHidden:YES];
		[[self.topItem titleView] setBackgroundColor:[UIColor clearColor]];
		//		[[self.topItem 
		NSLog(@"++");
        
		[[UIImage imageNamed:@"nav_title_coupon.png"]drawInRect:CGRectMake(101, 7, 117, 30)];
		
		[self setTintColor:[UIColor colorWithRed:0.6f
										   green: 0.3f
											blue:1.0f
										   alpha:0.0f]];
        
	//}
}
@end
